// JavaScript Document

function create_schema()
{
	new Ajax.Request('schema.php?action=new',
					 {
						method: 'post',
						postBody: 'name=' + $('name').value,
						onSuccess: function(transport){
										  var temp = transport.responseText;
										  if(temp == "ok")
										  {
											  refresh_navigation();
											  Modalbox.hide();
										  }
										  else
										  {
											alert(temp);
										 }										  
							}
					});
	
		return false;
}